package cn.wolfcode.crud.service;

import cn.wolfcode.crud.domain.Department;
import cn.wolfcode.crud.qo.PageResult;
import cn.wolfcode.crud.qo.QuerObjcet;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    void delete(Long id);

    void insert(Department department);

    Department get(Long id);

    List<Department> selectAll();

    void update(Department department);
    PageInfo<Department> query(QuerObjcet qo);
}
